from django.urls import path
from django.conf.urls import url, include
from rest_framework.routers import SimpleRouter
from .views import ArticleViewSet, DictView

# app_name = 'article'
urlpatterns = [
    path('dict/', DictView.as_view())  # 初始化 分类、标签
]

router = SimpleRouter()
router.register('', ArticleViewSet)
urlpatterns += router.urls
